from django.db import models

# Create your models here.

class MsgInfo(models.Model):
    id = models.AutoField(primary_key=True) #主键可省略不写
    name = models.CharField(max_length=10)  #‘客服’或‘顾客’
    message = models.CharField(max_length=50)   # 输入的话的长度最长为50

    class Meta:
        db_table="chatbot_msg" # 指定真实表名称